package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageDmContentDao;
import com.frogs.ucenter.entity.UserMessageDmContent;
import com.frogs.ucenter.service.UserMessageDmContentService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageDmContentService")
public class UserMessageDmContentServiceImpl extends BaseServiceImpl<UserMessageDmContent> implements UserMessageDmContentService {
    @Autowired
    private UserMessageDmContentDao userMessageDmContentDao;

    public UserMessageDmContentServiceImpl() {
        super();
    }

    public UserMessageDmContentDao getUserMessageDmContentDao() {
        return userMessageDmContentDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageDmContent> getBaseDao() {
        return userMessageDmContentDao;
    }

    public void setUserMessageDmContentDao(UserMessageDmContentDao userMessageDmContentDao) {
        this.userMessageDmContentDao = userMessageDmContentDao;
    }
}